Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Chris Parkinson 39 posts 73 karma points
    Jul 30, 2012 @ 12:13
    Chris Parkinson
    0

    Uncaught TypeError: Object [object Object] has no method 'UrlPicker'

    I've recently deployed an Umbraco site I am building to our staging server and have noticed the following JS error on pages that are using the Url Picker data type:

    1. Uncaught TypeError: Object [object Object] has no method 'UrlPicker' WebResource.axd:216
      1. $.fn.MultiUrlPickerWebResource.axd:216
      2. (anonymous function)editContent.aspx:580
      3. f.extend._Deferred.e.resolveWithjquery.js:17
      4. f.extend._Deferred.e.donejquery.js:17
      5. e.fn.e.readyjquery.js:17
      6. obj.setActiveTabjavascript.js:21
      7. setActiveTabjavascript.js:89
      8. onclick

     

    I'm scratching my head a bit tbh. The deployed code-base is exactly the same as that running on my test and local environments which works absolutely fine. I can't edit any of the properties that use this data type.

    Help would be much appreciated.

    Cheers

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Jul 30, 2012 @ 14:26
    Sebastiaan Janssen
    0

    Sounds like a permissions issue. Try giving the IIS_IUSRS group modify permissions to everything to test first, then revert to just the necessary permissions.

    Also, make sure that your application pool is running .net 4.0 and that (of course) all of the files have actually been deployed.

  • Chris Parkinson 39 posts 73 karma points
    Jul 30, 2012 @ 15:19
    Chris Parkinson
    0

    It's definitely running .NET 4 and all of the files have been deployed. My first thought was that it'd be permission related - I'll double check these. Cheers.

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Aug 04, 2012 @ 10:22
    Lee Kelleher
    0

    Hi Chris,

    Are you still experiencing this issue?

    Could you try clicking on the "WebResource.axd" file/URL? See if there are any errors with that script?

    Thanks, Lee.

  • Chris Parkinson 39 posts 73 karma points
    Aug 07, 2012 @ 11:20
    Chris Parkinson
    0

    Hi, been that busy completely forgot about this.

    Just double checked all permissions and that doesn't seem to have fixed the issue.

    The exception is being thrown here:

    // Set up URL picker
    if (!$urlPickerContainer.length) {
    throw "The shared URL Picker was not specified";
    }
    urlPickerApi = $urlPickerContainer.UrlPicker({
    Uncaught TypeError: Object [object Object] has no method 'UrlPicker'
    state: settings.UrlPickerDefaultState,
    settings: settings.UrlPickerSettings,
    change: function (itemState) {
    setItemState($itemContainer.children(".active"), itemState);
    change();
    }
    });
  • Dan White 206 posts 510 karma points c-trib
    Jun 26, 2013 @ 18:25
    Dan White
    0

    @Chris,

    I'm getting the samething, but for multiple datatypes. Did you every figure out what it was?

  • Chris Parkinson 39 posts 73 karma points
    Jun 27, 2013 @ 13:22
    Chris Parkinson
    0

    I think it was permission related in the end although I can't be more specific than that - if I remember rightly we granted full control of the folder. 

Please Sign in or register to post replies

Write your reply to:

Draft